package com.gnerv.cms.service;

import com.gnerv.cms.dto.TaskSaveDTO;
import org.quartz.Job;
import org.quartz.JobDetail;

import java.util.List;

public interface IJobDetailService {

    JobDetail createJobDetail(TaskSaveDTO taskSaveDTO);

    JobDetail createJobDetail(TaskSaveDTO taskSaveDTO, Class<? extends Job> clazz);

    boolean deleteJobDetail(String taskId);

    JobDetail selectJobDetail(String taskId);

    List<JobDetail> listJobDetail();

    boolean checkJobDetail(String taskId);

}
